package com.kayt.cyberBar.cpublic.business.entity.po;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the c_public_message_type database table.
 * 
 */
@Entity
@Table(name="c_public_message_type")
@NamedQuery(name="CPublicMessageType.findAll", query="SELECT c FROM CPublicMessageType c")
public class CPublicMessageType implements Serializable {
	private static final long serialVersionUID = 1L;
	private Long id;
	private String code;
	private String createTime;
	private String name;
	private String type;
	private String updateTime;

	public CPublicMessageType() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}


	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}


	@Column(name="CREATE_TIME")
	public String getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}


	public String getType() {
		return this.type;
	}

	public void setType(String type) {
		this.type = type;
	}


	@Column(name="UPDATE_TIME")
	public String getUpdateTime() {
		return this.updateTime;
	}

	public void setUpdateTime(String updateTime) {
		this.updateTime = updateTime;
	}

}